xen/domain: Reorder trivial initialisation in early domain_create()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 28 Sep 2020 15:47:58 +0000 (16:47 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 22 Dec 2020 14:31:34 +0000 (14:31 +0000)
commit8dfeef47947929ad8de85140d391640744d9aead
treed4e9e6d1afc0fe4337d57ebf864ccf499cd7b53c
parente18dadc5b709290b8038a1cacb52bc3b3b69cf21
xen/domain: Reorder trivial initialisation in early domain_create()

This improves the robustness of the error paths.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/common/domain.c